package com.tuozixuan.spring6.resources;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import com.tuozixuan.spring6.resouceloader.ResourceBean;

public class Demo5 {

	public static void main(String[] args) {
		ApplicationContext ctx = new ClassPathXmlApplicationContext("bean.xml");
		ResourceBean resourceBean = ctx.getBean("resourceBean", ResourceBean.class);
		resourceBean.parse();
	}
}
